package com.libgdxbar.pvzlikegame.screens.gamescreens;

import com.badlogic.gdx.utils.Pool;
import com.libgdxbar.pvzlikegame.objects.SampleGround;
import com.libgdxbar.pvzlikegame.objects.bullets.SampleBullet;
import com.libgdxbar.pvzlikegame.screens.GameScreenAdapter;

public class MainGameScreen extends GameScreenAdapter {
	// 子弹池 目前只有示例子弹类 以后可以填充子弹基类
	Pool<SampleBullet> bulletsPool = new Pool<SampleBullet>() {
		@Override
		protected SampleBullet newObject() {
			return new SampleBullet();
		}
	};

	@Override
	public void show() {
		super.show();
		new SampleGround(640, 480, bulletsPool);
	}

	@Override
	public void render(float delta) {
		super.render(delta);
	}
}
